home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 76 / DVD Actual 1 Marzo 2003.iso / Trial / TurboCAD 7.1 Pro / Data.Cab / F25102_ToolList.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-11-10  |  1.5 KB  |  61 lines

  1. #if !defined(AFX_TOOLLIST_H__9EC46045_842F_11D2_82F7_006052012837__INCLUDED_)
  2. #define AFX_TOOLLIST_H__9EC46045_842F_11D2_82F7_006052012837__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // ToolList.h : header file
  8. //
  9. #include <io.h>
  10. #include <direct.h>
  11. /////////////////////////////////////////////////////////////////////////////
  12. // ToolList window
  13.  
  14. class CToolList : public CListBox
  15. {
  16. // Construction
  17. public:
  18.     CToolList();
  19.  
  20. // Attributes
  21. public:
  22.  
  23. // Operations
  24. public:
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CToolList)
  29.     public:
  30.     virtual void OnFinalRelease();
  31.     //}}AFX_VIRTUAL
  32.  
  33. // Implementation
  34. public:
  35.     CString m_cstrCurSelected;
  36.     BOOL m_drag;
  37.     CPoint m_LB_DOWNpoint;
  38.     void RefreshFileList(CString path);
  39.     virtual ~CToolList();
  40.  
  41.     // Generated message map functions
  42. protected:
  43.     HCURSOR m_OldCursor;
  44.     HCURSOR m_NewCursor;
  45.     //{{AFX_MSG(CToolList)
  46.     afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  47.     afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  48.     afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  49.     afx_msg void OnSelchange();
  50.     //}}AFX_MSG
  51.  
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56.  
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  59.  
  60. #endif // !defined(AFX_TOOLLIST_H__9EC46045_842F_11D2_82F7_006052012837__INCLUDED_)
  61.